#ifndef YKTHREADGETIMG_H
#define YKTHREADGETIMG_H

#include <QThread>
#include <windows.h>


class DPGMTracking;

using namespace std;

class YKThreadGetImg : public QThread
{  
	Q_OBJECT

  HANDLE m_hSemaphore;
  bool m_bContinue;
  DPGMTracking* m_pParent;

public:
  YKThreadGetImg(DPGMTracking* pParent);
  ~YKThreadGetImg();
  void SetContinue(bool bContinue){m_bContinue = bContinue;}
  void run();

signals:
  void SGL_NewImageArrived();
  //void setSemaphore()
};

#endif // YKTHREADGETIMG_H
